<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ taglib uri='/WEB-INF/tlds/template.tld' prefix='template' %>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
    <title></title>
    <style type="text/css">
        .part
        {
            float:left;
            width: 450px;
            margin: 5px;
            height: auto;
        }
        .right_part
        {
            height: auto;
            width: 350px;
            float: right;
        }
        .left_part
        {
            height: auto;
            width: auto;
            float: left;
            font-family: Arial, Helvetica, sans-serif;
        }
        #header
        {
            text-align: center;
            font-weight: bolder;
            font-family: Arial, Helvetica, sans-serif;
        }
        #text_txt
        {
            height: 170px;
        }
    </style>
</head>
<form id="add_cats_form" action="add_game" method="POST" enctype="multipart/form-data">
    <div class="part">
        <div id="header" class="part">
            Добавление игры</div>
        <div class="part">
            <div class="left_part">
                Название:</div>
            <input id="header_txt" type="text" name="header_txt" class="right_part" />
        </div>
        <div class="part">
            <div class="left_part">
                Категория:</div>
            <select id="category_txt" name="category_txt" class="right_part">
            <template:get_cat_option_list/>
        	</select>
        </div>
		<div class="part">
            <div class="left_part">
                Цена(руб.):</div>
            <input id="price_txt" type="text" name="price_txt" class="right_part" />
        </div>
        
        <div class="part">
            <div class="left_part">
                Описание:</div>
            <textarea class="right_part" id="text_txt" name="text_txt" name="S1"></textarea>
        </div>
        <div class="part">
            <div class="left_part">
                Картинка:</div>
            <input id="img_txt" type="file" name="img_txt" class="right_part" />
        </div>
        <div class="part">
            <div class="left_part">
                Скриншоты:</div>
            <input id="scr1" type="file" name="scr1" class="right_part" />
        </div>
        <div class="part">
            <input id="scr2" type="file" name="scr2" class="right_part" />
        </div>
        <div class="part">
            <input id="scr3" type="file" name="scr3" class="right_part" />
        </div>
        <div class="part">
            <input id="scr4" type="file" name="scr4" class="right_part" />
        </div>
        <div class="part">
            <input id="scr5" type="file" name="scr5" class="right_part" />
        </div>
        <div class="part">
            <input type="submit" id = "log_btn" value="Добавить игру" > 
        </div>
    </div>
</form>
</html>